<%--
  Created by IntelliJ IDEA.
  User: 86178
  Date: 2021-11-22
  Time: 19:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath = request.getScheme() + "://" + request.getServerName()
            + ":" + request.getServerPort() + request.getContextPath() + "/";
%>
<html>
<head>
    <title>添加</title>
    <base href="<%=basePath%>"/>
</head>
<body>
    <div align="center">
        <p>注册学生</p>
        <form action="/student/addStudent.do" method="post">
            <table>
                <tr>
                    <td>姓名：</td>
                    <td><input type="text" name="name"></td>
                </tr>

                <tr>
                    <td>年龄：</td>
                    <td><input type="text" name="age"></td>
                </tr>

                <tr>
                    <td>操作：</td>
                    <td><input type="submit" value="注册"></td>
                </tr>
            </table>
        </form>
    </div>

</body>
</html>
